package model.requirement6;

public class NewMenuItemAdapter extends MenuItemAdapter {
    private NewMenuItem newMenuItem;

    public NewMenuItemAdapter(NewMenuItem newMenuItem) {
        this.newMenuItem = newMenuItem;
    }

    @Override
    public String getName() {
        return newMenuItem.getName();
    }

    @Override
    public double getPrice() {
        return newMenuItem.getPrice();
    }
}
